package com.iwhalecloud.bss.kite.cucc.service.util;

import java.util.Map;

/**
 * 
 * @author wuguoyuan
 * @date 2019-10-25 17:39:42
 */
public class Const {
  
  public static String getStrValue(Map<String, String> m, String name) {
    Object t = m.get(name);
    if (t == null) {
      return "";
    }
    return ((String) t).trim();
  }
  
  public static String getObjStrValue(Map<String, Object> m, String name) {
    Object t = m.get(name);
    if (t == null) {
      return "";
    }
    return (t.toString()).trim();
  }
  
}
